<?php

return [
    'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'driver_qq' => App\UsersThirdPartyQq::class,
            'driver_wechat' => App\UsersThirdPartyWechat::class,
        ],
    ],
    'drivers' => [
        'wechat_web' => [
            'driver' => 'wechat',
            //'name' => '微信登录',
            'name' => '<img src="https://open.weixin.qq.com/zh_CN/htmledition/res/assets/res-design-download/icon32_wx_button.png" alt="" data-height="31" data-ratio="0.20512820512820512">',
            'app_id' => 'wx5acd37bbc91c9f66',
            'app_secret' => 'ba8622ab8e7e0068c3fa1c406a6784db',
            //'redirect_uri' => env('APP_URL', 'http://localhost') . "/auth/third/return",
            //'redirect_uri' => 'http://x.gli.cn' . '/common/auth/third/return',
            'type' => 'open',
            'allow_clients' => [
                'web'
            ],
        ],
        /*'wechat_app' => [
            'driver' => 'wechat',
            'name' => '微信登录',
            'app_id' => 'wx26476bba75f3fe85',
            'app_secret' => '36c663a6f93c3b6c6344693d2994f35b',
            'redirect_uri' => env('APP_URL', 'http://localhost') . "/auth/third/return",
            'type' => 'open',
            'allow_clients' => [
                'app'
            ],
        ],*/
        'wechat_mp' => [
            'driver' => 'wechat',
            'name' => '微信登录',
            'app_id' => 'wx5acd37bbc91c9f66',
            'app_secret' => 'ba8622ab8e7e0068c3fa1c406a6784db',
            //'redirect_uri' => env('APP_URL', 'http://localhost') . '/auth/third/return',
            //'redirect_uri' => 'http://x.gli.cn' . '/common/auth/third/return',
            'type' => 'mp',
            'allow_clients' => [
                'wechat'
            ],
        ],
        'qq_web' => [
            'driver' => 'qq',
            //'name' => 'Qq登录',
            'name' => '<img src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/bt_blue_76X24.png" height="31px">',
            'app_id' => '101520301',
            'app_key' => '112cfc84d0c6d080338f6ba4bc0527aa',
            //'redirect_uri' => env('APP_URL', 'http://localhost') . '/auth/third/return',
            //'redirect_uri' => 'http://x.gli.cn' . '/common/auth/third/return',
            'type' => '',
            'allow_clients' => [
                'web'
            ],
        ],
        /* 'qq_app' => [
            'driver' => 'qq',
            'name' => 'Qq登录',
            'app_id' => '101488219',
            'app_key' => 'ab38b911bc96845ec468b9969c028770',
            'redirect_uri' => '',
            'type' => '',
            'allow_clients' => [
                'mobile'
            ],
        ], */

    ],

];
